package com.rgs.demo.proxy02.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Ren Gaoshuai
 * @ClassName ProxyHttpController
 * @date 2021-12-27 9:20
 **/
@RestController
public class ProxyHttpController {

    @GetMapping("/proxy")
    public String TestProxy(){
        System.out.println("7001端口请求成功！");
        return "success";
    }
}
